//
//  heightHeader.h
//  CenturyInterconnection
//
//  Created by l-sheng on 16/5/31.
//  Copyright © 2016年 Shanghai DuRui Information Technology Company. All rights reserved.
//

#ifndef heightHeader_h
#define heightHeader_h




//获取屏幕宽度
#define KScreenWidth  [UIScreen mainScreen].bounds.size.width

//获取屏幕高度
#define KScreenHeight [UIScreen mainScreen].bounds.size.height

//获取导航栏高度
#define NavigationBarHeight self.navigationController.navigationBar.frame.size.height

//获取状态栏高度
#define StatusBarHeight  [[UIApplication sharedApplication] statusBarFrame].size.height

//获取tabBar的高度
#define tabbarDeHeight 49



// 屏幕高度（不包含状态栏）
#define SCREEN_HEIGHT_NO_BAR (SCREEN_HEIGHT - STATUSBAR_HEIGHT)

// 屏幕高度（扣除导航条）
#define SCREEN_HEIGHT_NO_NAVIGATIONBAR  (SCREEN_HEIGHT_NO_BAR - NAVIGATIONBAR_HEIGHT)

// 屏幕尺寸（不包含状态栏）
#define SCREEN_SIZE (CGSizeMake(SCREEN_WIDTH, SCREEN_HEIGHT_NO_BAR))




//KScreenHeight/667*height
//比例
#define ACTUAL_WIDTH(width)   (KScreenWidth/375)*(width)
#define ACTUAL_HEIGHT(height)   (KScreenHeight/667)*(height)


// StatusBar高度
#define STATUSBAR_HEIGHT 20
// TabBar高度
#define TABBAR_HEIGHT 49
// NavigationBar高度
#define NAVIGATIONBAR_HEIGHT 44




#endif /* heightHeader_h */
